<?php
require_once("mysql.inc.php");




	$result = mysql_query("SELECT * FROM `books` WHERE `likes`='1'") or die(mysql_error());
	
	$num = mysql_num_rows($result2);
	
	
	while($fetch = mysql_fetch_array($result)) {
		echo $fetch["title"];
		echo "<br>";
	}

	
	
	








?>